package com.campusexpresspickup.mapper;

import com.campusexpresspickup.entity.LogisticsCourier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campusexpresspickup.page.LogisticsCourierPage;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 物流快递员表 Mapper 接口
 * </p>
 *
 * @author lq
 * @since 2021-11-22
 */
@Mapper
public interface LogisticsCourierMapper extends BaseMapper<LogisticsCourier> {


  List<LogisticsCourier> findCourierList(
      @Param("logisticsCourierPage") LogisticsCourierPage logisticsCourierPage);

  void updateCourierCount(@Param("courierId") Integer courierId,
      @Param("orderCount") Integer orderCount,@Param("orderId") Integer orderId);

}
